package com.cheetah.config;

import lombok.Data;
import lombok.ToString;

/**
 * @Author Administrator
 * @Date 2019/9/19
 * @Version V1.0
 * @Description:
 **/
@Data
@ToString
public class Mongo {

    private String nodes = "localhost:27017";

    private String username;

    private String password;

    private String database;

    private int maxWaitTime = 10 * 1000;

    private int connectionsPerHost = 100;

    private int connectTimeout = 10 * 1000;

    private int threadsAllowedToBlockForConnectionMultiplier = 10;

    private boolean retryWrites = false;

}
